package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="DocManage"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class DocManage implements Serializable {

    /** identifier field */
    private Integer docSeq;

    /** nullable persistent field */
    private String docName;

    /** nullable persistent field */
    private String shortDoc;

    /** nullable persistent field */
    private String sort;

    /** nullable persistent field */
    private String tpdetail;

    /** nullable persistent field */
    private String assoId;

    /** nullable persistent field */
    private String fileName;

    /** nullable persistent field */
    private String fileDir;

    /** nullable persistent field */
    private Integer fileSize;

    /** nullable persistent field */
    private String fileState;

    /** nullable persistent field */
    private String uptime;

    /** nullable persistent field */
    private String docNote;

    /** full constructor */
    public DocManage(String docName, String shortDoc, String sort, String tpdetail, String assoId, String fileName, String fileDir, Integer fileSize, String fileState, String uptime, String docNote) {
        this.docName = docName;
        this.shortDoc = shortDoc;
        this.sort = sort;
        this.tpdetail = tpdetail;
        this.assoId = assoId;
        this.fileName = fileName;
        this.fileDir = fileDir;
        this.fileSize = fileSize;
        this.fileState = fileState;
        this.uptime = uptime;
        this.docNote = docNote;
    }

    /** default constructor */
    public DocManage() {
    }

    /** 
     *            @hibernate.id
     *             generator-class="identity"
     *             type="java.lang.Integer"
     *             column="DocSeq"
     *             unsaved-value="0"
     *         
     */
    public Integer getDocSeq() {
        return this.docSeq;
    }

    public void setDocSeq(Integer docSeq) {
        this.docSeq = docSeq;
    }

    /** 
     *            @hibernate.property
     *             column="DocName"
     *             length="50"
     *         
     */
    public String getDocName() {
        return this.docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    /** 
     *            @hibernate.property
     *             column="ShortDoc"
     *             length="20"
     *         
     */
    public String getShortDoc() {
        return this.shortDoc;
    }

    public void setShortDoc(String shortDoc) {
        this.shortDoc = shortDoc;
    }

    /** 
     *            @hibernate.property
     *             column="Sort"
     *             length="6"
     *         
     */
    public String getSort() {
        return this.sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    /** 
     *            @hibernate.property
     *             column="TpDetail"
     *             length="6"
     *         
     */
    public String getTpdetail() {
        return this.tpdetail;
    }

    public void setTpdetail(String tpdetail) {
        this.tpdetail = tpdetail;
    }

    /** 
     *            @hibernate.property
     *             column="AssoId"
     *             length="10"
     *         
     */
    public String getAssoId() {
        return this.assoId;
    }

    public void setAssoId(String assoId) {
        this.assoId = assoId;
    }

    /** 
     *            @hibernate.property
     *             column="FileName"
     *             length="60"
     *         
     */
    public String getFileName() {
        return this.fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    /** 
     *            @hibernate.property
     *             column="FileDir"
     *             length="100"
     *         
     */
    public String getFileDir() {
        return this.fileDir;
    }

    public void setFileDir(String fileDir) {
        this.fileDir = fileDir;
    }

    /** 
     *            @hibernate.property
     *             column="FileSize"
     *             length="10"
     *         
     */
    public Integer getFileSize() {
        return this.fileSize;
    }

    public void setFileSize(Integer fileSize) {
        this.fileSize = fileSize;
    }

    /** 
     *            @hibernate.property
     *             column="FileState"
     *             length="1"
     *         
     */
    public String getFileState() {
        return this.fileState;
    }

    public void setFileState(String fileState) {
        this.fileState = fileState;
    }

    /** 
     *            @hibernate.property
     *             column="UpTime"
     *             length="23"
     *         
     */
    public String getUptime() {
        return this.uptime;
    }

    public void setUptime(String uptime) {
        this.uptime = uptime;
    }

    /** 
     *            @hibernate.property
     *             column="DocNote"
     *             length="500"
     *         
     */
    public String getDocNote() {
        return this.docNote;
    }

    public void setDocNote(String docNote) {
        this.docNote = docNote;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("docSeq", getDocSeq())
            .toString();
    }

}
